\section{Payload source code}
\label{appendix:sec:payloads}
\subsection{\texttt{execve /bin/sh}}
(Adapted from Jean Pascal Pereira's shellcode\footnote{\url{http://www.shell-storm.org/shellcode/files/shellcode-811.php}}.)
\verbatiminput{execvepayload.txt}

\subsection{TCP bindshell on \texttt{INADDR\_ANY:65282}}
(Adapted from Gotfault Security's shellcode\footnote{\url{http://www.shell-storm.org/shellcode/files/shellcode-252.php}}.)
\verbatiminput{bindshellpayload.txt}

\subsection{\texttt{chmod 666 /etc/passwd}}
(Adapted from Jean Pascal Pereira's shellcode\footnote{\url{http://www.shell-storm.org/shellcode/files/shellcode-812.php}}.)
\verbatiminput{chmod_payload.txt}

\subsection{Kill all processes (\texttt{kill(-1, SIGKILL}))}
(Adapted from \texttt{root@thegibson}'s shellcode\footnote{\url{http://www.shell-storm.org/shellcode/files/shellcode-564.php}}.)
\verbatiminput{killall_payload.txt}

\subsection{Deactivate ASLR}
(Adapted from Jean Pascal Pereira's shellcode\footnote{\url{http://www.shell-storm.org/shellcode/files/shellcode-813.php}}.)
\verbatiminput{aslr_deactivation_payload.txt}
